ca57c563cfecefa3267604036f27799cd21833ed,clc/modules/msgs/src/main/java/com/eucalyptus/entities/EntityWrapper.java,EntityWrapper,getUnique,#TYPE#,169
Before Change
}
public TYPE getUnique( TYPE example ) throws EucalyptusCloudException {
if ( TRACE ) EventRecord.here( EntityWrapper.class, EventType.PERSISTENCE, DbEvent.UNIQUE.begin( ), this.tx.getTxUuid( ) ).trace( );
List<TYPE> res = this.query( example );
if ( res.size( ) != 1 ) {
String msg = null;
After Change
}
public TYPE getUnique( TYPE example ) throws EucalyptusCloudException {
if ( LogLevels.EXTREME ) LOG.debug( Join.join( ":", EventType.PERSISTENCE, DbEvent.UNIQUE.begin( ), this.tx.getTxUuid( ) ) );
List<TYPE> res = this.query( example );
if ( res.size( ) != 1 ) {
String msg = null;